-- GENERATED SPELL FOR [Dark Iron Watchman] --


function spell0_8637(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8637', 637, 1)
end

function Sorts_8637(pUnit, Event)
local choix_sorts_8637 = math.random(0, 0)
if choix_sorts_8637 == 0 then
pUnit:RegisterEvent('spell0_8637', 1, 1)
end
end

function mob8637_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8637', math.random(1500, 3000), 1)
end

function mob8637_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8637_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8637_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8637, 1, 'mob8637_Action')
RegisterUnitEvent(8637, 2, 'mob8637_Leave')
RegisterUnitEvent(8637, 3, 'mob8637_Kill')
RegisterUnitEvent(8637, 4, 'mob8637_Die')
